#ifndef __DRIVER_SYSTIME_H__
#define __DRIVER_SYSTIME_H__

#include "stm32f0xx.h"

void SysTim_Init_Fuc(void);
void LoopTim_Init_Fuc(void);

__INLINE void LoopTim_Irq_Disable_Fuc(void)
{
  TIM17->DIER &= ~TIM_DIER_UIE;
}

__INLINE void LoopTim_Irq_Enable_Fuc(void)
{
  TIM17->DIER |= TIM_DIER_UIE;
}

#endif
